//
//  CRBRotateBoxCustomSearchView.m
//  ChampsARotate
//
//  Created by Login.Fan on 2018/11/1.
//  Copyright © 2018 Logan.Fan. All rights reserved.
//

#import "CRBRotateBoxCustomSearchView.h"

@implementation CRBRotateBoxCustomSearchView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
+ (instancetype)createFromXibWithFrame: (CGRect)frame{
    
    UIView *view= [self createFromXib];
    view.frame= frame;
    return view;
}

+ (instancetype)createFromXib{
    
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil] firstObject];
}

@end
